home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
DISK
/
CZ101B2.ARJ
/
PROUTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-02-10
|
2KB
|
64 lines
echo off
rem -- process test uploads request - for ProDOOR 3.0
rem proecho %3 ~~Testing Uploaded Files. Please wait...~
rem -- %1-logfile, %2-testdir, %3-comport
rem -- keep a permanent copy of all DSZLOG transfer log files
rem if exist %DSZLOG% type %DSZLOG% }}L:\pcb\perm.log
rem -- exit quietly if no files were uploaded
rem proecho %3 ~~No Files I am now returning to the board. Please wait...~
if not exist %2\*.* goto end
rem -- convert unwanted .arc files to .zip format
if not exist %2\*.arc goto testzip
:convert
chkpath proecho %0 >>%1
if errorlevel 1 goto end
proecho %3 ~~Converting ARC files to ZIP format. Please wait...~
rem -- I recommend you add ",*.ARC,999," to your UPSEC to lock out ARC
rem -- uploads if you are converting to ZIP. If you accept ARC files
rem -- you should delete the next two commands
rem -- convert ARC files to ZIP files; TOZIP is from ZIPKIT43.ZIP or newer.
chkpath tozip %0 >>%1
if errorlevel 1 goto testzip
tozip %2\* >>%1
rem -- dsz's $door.log is no longer valid after conversion, delete it.
if exist %DSZLOG% del %DSZLOG%
:testzip
rem -- test zipfiles
proecho %3 ~~Testing uploads. Please wait...~
rem -- check for truncated uploads; ZIPDS is from ZIPDS11.ZIP or newer
chkpath zipds %0 >>%1
zipds %2\* >>%1
chkpath pkunzip %0 >>%1
pkunzip -t %2\* >>%1
rem -- check file for a virus
proecho %3 ~~Checking uploads for Viral infection...~
rem -- for %%F in (%2\*.*) do CALL virus %1 %%F
rem -- remove ansi comments from uploads; STRIPZIP is from STRIPZIP.ZIP
rem chkpath stripzip %0 >>%1
rem stripzip %2\* >>%1
proecho %3 ~I Am Adding Conex Comment to all Files!...~
proecho %3 ~Then I will Check to see if I have the File already~
rem chkpath ZN -o /c g:\pcb\board.lgo %2\*.ZIP /b /s
for %%a in (%2\*.*) do call two.bat %%a
rem -- finally use PKUNZIP to test for correct crcs in new files.
rem chkpath pkunzip %0 >>%1
rem pkunZIP -t %2\* >>%1
:end